import { createRouter, createWebHashHistory } from "vue-router";
const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: "/",
      redirect: "/categorie",
    },
    {
      path: "/config",
      component: () => import("@views/config/index.vue"),
    },
    {
      path: "/namelist",
      component: () => import("@views/nameList/index.vue"),
    },
    {
      path: "/categorie",
      component: () => import("@views/categorie/index.vue"),
    },
    {
      path: "/productList",
      component: () => import("@views/productList/index.vue"),
    },
    {
      path: "/blog",
      component: () => import("@views/blog/index.vue"),
    },
    {
      path: "/homeblog",
      component: () => import("@views/homeBlog/index.vue"),
    },
    {
      path: "/inquiryEdit",
      component: () => import("@views/inquiryEdit/index.vue"),
    },
  ],
});

export default router;
